import React, { Component } from 'react'
import { connect } from 'react-redux'
import { checkaction } from '../redux/redux_actions'
class User extends Component {


    componentDidMount() {

    }

    render() {
        console.log(this.props);
        console.log(this.props.status);
        setTimeout(()=>{
            this.props.checkaction(1111)
        },100)

        return (
            <>
                {this.props.msg}
            </>
        )
    }
}
export default connect(state => (state.reduer1), { checkaction })(User)
